package com.xxg.jdeploy.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.xxg.jdeploy.domain.HostInfo;
import com.xxg.jdeploy.mapper.HostInfoMapper;

public class HostInfoService {
	@Autowired
	private HostInfoMapper hostInfoMapper;
	
	public List<HostInfo> getList() {
		return hostInfoMapper.getList();
	}

	public HostInfo getDetail(int plat) {
		return hostInfoMapper.getDetail(plat);
	}

	public void insert(HostInfo javaWebDeployInfo) {
		hostInfoMapper.insert(javaWebDeployInfo);
	}

}
